package com.myteam.fugaocrm.sqldb.mapper;

import org.apache.ibatis.annotations.Select;

import com.myteam.fugaocrm.modle.FgCode;

/**
 * 字典表Mapper
 */
public interface FgCodeMapper {

	@Select("select * from fg_code where code_type = #{codeType} and code = #{code}")
	public FgCode selectOne(FgCode fgCode);
	
	@Select("update fg_code set code_lable=#{codeLable}  where id = #{id}")
	public void updateOne(FgCode fgCode);
}
